package exercise;

public class Q39_Phone2 {
	private String maker;
	private int price;
	private String commtype;
	
	public Q39_Phone2() {
		this.maker = "";
		this.price = 0;
		this.commtype = "";
	}
	
	public Q39_Phone2(String maker, int price, String commtype) {
		this.maker = maker;
		this.price = price;
		this.commtype = commtype;
	}

	public String getMaker() {return maker;}
	public void setMaker(String maker) {this.maker = maker;}
	public int getPrice() {return price;}
	public void setPrice(int price) {this.price = price;}
	public String getCommtype() {return commtype;}
	public void setCommtype(String commtype) {this.commtype = commtype;}	
}
